﻿<navigation:Page 
  x:Class="AcademyDocs.About" 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"  
  Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel" Style="{StaticResource ContentStackPanelStyle}">
                <Button Content="Up" Height="23" x:Name="buttonUp" Width="75" Click="buttonUp_Click" />
                <TextBlock Text="Folders:" HorizontalAlignment="Center"/>
                <ListBox x:Name="lbFolders" DisplayMemberPath="Name" Height="100"  Width="120" SelectionChanged="lbFolders_SelectionChanged"/>
                <Button Content="Create Folder" Height="23" x:Name="ButtonCreateFolder" Width="75" Click="ButtonCreateFolder_Click" />
                <TextBox Name="TextBoxFolderName" Text="{Binding Path=NewFolder.Name, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True, TargetNullValue=' '}" Width="100"/>
            </StackPanel>

        </ScrollViewer>
    </Grid>

</navigation:Page>